package com.beaven.imclient.data;

import com.beaven.imclient.adapter.UserAdapter;
import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * author: Beaven
 * time: 2017/5/26 18:24
 */

public class ItemTitle extends AbstractExpandableItem<ItemCategory> implements MultiItemEntity {

  private String title;

  public ItemTitle(String title) {
    this.title = title;
  }

  public String getTitle() {
    return title;
  }

  @Override public int getLevel() {
    return 0;
  }

  @Override public int getItemType() {
    return UserAdapter.TYPE_TITLE;
  }

  @Override public String toString() {
    return "ItemTitle{" + "title='" + title + '\'' + '}';
  }
}
